package com.sky.mapper;

import com.sky.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderSubmitDetailMapper {

    /**
     * 插入多条订单明细数据
     * @param orderDetails 订单明细数据
     */
    void insertOrderDetails(@Param("orderDetails") List<OrderDetail> orderDetails);
}
